package com.woniuxy.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@ConfigurationProperties(prefix = "datasource-my")
@Component
public class MyDataSourcePojo {
    String url;
    String username;
    String password;
}
